package com.itheima.blog.auth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.blog.auth.dto.LoginReqDto;
import com.itheima.blog.auth.dto.LoginResDTO;
import com.itheima.blog.auth.dto.UserDto;
import com.itheima.blog.auth.entity.AdminUser;
import com.itheima.blog.auth.entity.WebUser;
import com.itheima.common.domain.R;

import java.util.List;

/**
 * <p>
 * 门户用户信息表 服务类
 * </p>
 *
 * @author HM
 * @since 2023-05-25
 */
public interface WebUserService extends IService<WebUser> {

    /**
     * 门户的登录
     * */
    LoginResDTO login(LoginReqDto dto);

    List<WebUser> findUserList(List<Integer> userIds);

    List<Integer> findUserIdListByNickName(String nickName);
}
